package ecom.beans;

public class ProductPK {

	public int productID;
	public ProductPK() {
	      productID = 0;
	}
	public ProductPK(int productID) {
	      this.productID = productID;
	}
	public boolean equals (Object o) {
	      try {
	            ProductPK pPK = (ProductPK)o;
	            return (pPK.productID == productID);
	      } catch (Exception e) {
	            return false;
	      }
	}
	public int hashCode() {
	      return new Integer(productID).hashCode();
	}
}
